<?php

$title = '分类搜索页';
$url = 'http://www.youban.com/erge-c15.html';

$data = get_data_from_youban($url);

$smarty->_assign(array('title','data'));

$smarty->_display();
?>